<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>添加员工信息</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<link rel="stylesheet" type="text/css" href="./pages/wk/css/style.css">

	</head>
	<style type="text/css">
#sub2 {
	padding: 0px;
	border: 0px;
	width: 87px;
	height: 26px;
	background-color: gray;
}

#sub {
	padding: 0px;
	border: 0px;
	width: 87px;
	height: 26px;
	background-color: gray;
}

#sub1 {
	padding: 0px;
	border: 0px;
	width: 100px;
	height: 26px;
	background-color: gray;
}

#userreg {
	padding-left: 250px;
	color: blue;
}

#srb {
	padding-left: 180px;
}

#top {
	background-color: silver;
}

.text {
	width: 150px;
}

.sr {
	padding-left: 500px;
}

table {
	width: 650px;
	border: 0px black solid;
	background-color: silver;
}
</style>

	<body>
		<center>
			<font class="bigFont">添加员工信息</font>
			<br />
			<s:form action="wk/empAction!addEmp.action" method="post">
				<table>
					<tr>
						<td>
							<div style="margin-top: 30px">
								<font size="4">员工账号：</font>
								<input class="text" type="text" name="emp.ename" id="emp.ename" />
							</div>
						</td>
						<td>
							<div style="margin-top: 30px">
								<font size="4">用户性别：</font>
								<input class="text" type="text" name="emp.sex" id="emp.sex" />
							</div>
						</td>
					</tr>
					<tr>
						<td>
							<div style="margin-top: 30px">
								<font size="4">员工密码：</font>
								<input class="text" type="password" name="emp.epass"
									id="emp.epass" value="123456" readonly="readonly" />
							</div>
						</td>
						<td>
							<div style="margin-top: 30px">
								<font size="4">员工头像：</font>
								<input class="text" type="text" name="emp.photo" id="emp.photo" />
							</div>
						</td>
					</tr>
					<tr>
						<td>
							<div style="margin-top: 30px">
								<font size="4">电话号码：</font>
								<input class="text" type="text" name="emp.phone" id="emp.phone" />
							</div>
						</td>
						<td>
							<div style="margin-top: 30px">
								<font size="4">家庭住址：</font>
								<input class="text" type="text" name="emp.addr" id="emp.addr" />
							</div>
						</td>

					</tr>
					<tr>
						<td>
							<div style="margin-top: 30px">
								<font size="4">电子邮箱：</font>
								<input class="text" type="text" name="emp.email" id="emp.email" />
							</div>
						</td>
						<td>
							<div style="margin-top: 30px">
								<font size="4">素数乘积：</font>
								<input class="text" type="text" name="emp.rcode" id="emp.rcode" />
							</div>
						</td>
					</tr>
					<tr>
						<td>
							<div style="margin-top: 30px">
								<font size="4">真实姓名：</font>
								<input class="text" type="text" name="emp.realname"
									id="emp.realname" />
							</div>
						</td>
						<td>
							<div style="margin-top: 30px">
								<font size="4">权限编号：</font>
								<input class="text" type="text" name="emp.rolegroup.rgid"
									id="emp.rolegroup.rname" />
							</div>
						</td>
					</tr>
					<tr>
						<td>
							<div style="margin-top: 30px">
								<font size="4">入职时间：</font>
								<input class="text" type="text" name="emp.hiredate"
									id="emp.hiredate" />
							</div>
						</td>
						<td>
							<div style="margin-top: 30px">
								<font size="4">所属部门：</font>
								<input class="text" type="text" name="emp.dept.deptno"
									id="emp.dept.deptno" />
							</div>
						</td>
					</tr>
					<tr>
						<td>
							<div style="margin-top: 30px">
								<font size="4">出生年月：</font>
								<input class="text" type="text" name="emp.birth" id="emp.birth" />
							</div>
						</td>
						<td>
							<div style="margin-top: 30px">
								<font size="4">员工职位：</font>
								<input class="text" type="text" name="emp.oaRole.rid"
									id="emp.oaRole.rid" />
							</div>
						</td>
					</tr>
					<tr>
						<td>
							<div style="margin-top: 30px">
								<font size="4">员工工资：</font>
								<input class="text" type="text" name="emp.sal" id="emp.sal" />
							</div>
						</td>

					</tr>
					<tr>
						<td id="srb" colspan="2">
							<div style="margin-top: 30px; float: left;">
								<input class="sr" type="submit" value="提交" id="sub2" />
							</div>
							<div style="margin-top: 30px; float: left; margin-left: 1px">
								<input class="sr" type="reset" value="重置" id="sub" />
							</div>
							<div style="margin-top: 30px; float: left; margin-left: 1px">
								<input class="sr" type="button" value="返回首页"
									onclick="pages/wk/jsp/empmanage/empManage.jsp" id="sub1" />
							</div>
						</td>
					</tr>
				</table>
			</s:form>
		</center>
	</body>
</html>
